<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>
<?php

$command ="";
if ($_POST['enabled'] == 1)
{
	$command = "/usr/sbin/reboot_service.sh 1>/dev/null 2>&1";
	
	shell_exec($command);
}	

echo("<meta http-equiv='refresh'content=0;URL='sys_debug_service_reboot.php'>");
?>
